/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bulkmailer.beans;

import java.util.TreeSet;

/**
 *
 * @author ravi
 */
public class Email {

    private int mailUid = -1;
    private String subject = null;
    private String body = null;
    private String sign = null;
    private String description = null;
    private String disclaimer = null;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(mailUid).append(" ");
        sb.append(subject).append(" ");
        sb.append(body).append(" ");
        sb.append(sign).append(" ");
        sb.append(getDisclaimer()).append(" ");
        sb.append(description).append(" ");
        return sb.toString();
    }

    /**
     * @return the subject
     */
    public String getSubject() {
        return subject;
    }

    /**
     * @param subject the subject to set
     */
    public void setSubject(String subject) {
        this.subject = subject;
    }

    /**
     * @return the body
     */
    public String getBody() {
        return body;
    }

    /**
     * @param body the body to set
     */
    public void setBody(String body) {
        this.body = body;
    }

    /**
     * @return the sign
     */
    public String getSign() {
        return sign;
    }

    /**
     * @param sign the sign to set
     */
    public void setSign(String sign) {
        this.sign = sign;
    }

    /**
     * @return the mailUid
     */
    public int getMailUid() {
        return mailUid;
    }

    /**
     * @param mailUid the mailUid to set
     */
    public void setMailUid(int mailUid) {
        this.mailUid = mailUid;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the disclaimer
     */
    public String getDisclaimer() {
        return disclaimer;
    }

    /**
     * @param disclaimer the disclaimer to set
     */
    public void setDisclaimer(String disclaimer) {
        this.disclaimer = disclaimer;
    }
}
